from django.urls import path

from user.views import TestUserView, JwtTestView, LoginView
from .views import NovelStatusUpdateView
from .views import NovelDeleteView
from .views import NovelCreateView
from .views import NovelListView
urlpatterns = [
    path('novels/create/', NovelCreateView.as_view(), name='novel-create'),

    path('novels/<int:novel_id>/status/', NovelStatusUpdateView.as_view(), name='novel-status-update'),
    path('novels/<int:novel_id>/', NovelDeleteView.as_view(), name='novel-delete'),
    path('novels/', NovelListView.as_view(), name='novel-list'),
    path('testUser',TestUserView.as_view(), name='testUser'),
    path('jwttest',JwtTestView.as_view(), name='jwttest'),
    path('login',LoginView.as_view(),name='login'),
]